package milu.dbxml.request;

import milu.dbxml.DbXmlContext;
import milu.dbxml.receipt.Recipient;

import com.sleepycat.dbxml.XmlDocumentConfig;
import com.sleepycat.dbxml.XmlQueryExpression;

public abstract class LazyQuery extends EagerQuery {

	public LazyQuery(DbXmlContext dbxml, XmlQueryExpression xqe,
			Recipient recipient) {
		super(dbxml, xqe, recipient);
	}

	@Override protected XmlDocumentConfig getXmlDocumentConfig() {
		XmlDocumentConfig xdc = new XmlDocumentConfig();
		xdc.setLazyDocs(true);
		return xdc;
	}
}
